Close
dtSearch Text Retrieval Engine Programmer's Reference
IWordListBuilder::Sort Method

Sort the word list by document count or term

Syntax
IDL
HRESULT Sort([in] long flags, [out, retval] VARIANT_BOOL * pVal);

The following SortFlags are supported: dtsSortByWord, and dtsSortByDocCount. Use dtsSortAscending to specify ascending order. Otherwise the sort will be in descending order. Sort() only works with ListFieldValues and ListMatchingWords.